sellFortune = function() {
	var intLength = $('input[name="fortuneid[]"]:checked').length;
	if(intLength > 0) {
		$("#frmFortune").attr('action',HOST_VFRIEND + 'product/sell');
		$("#frmFortune").submit();
	} else {
		alert(fortune_sell_required);				
		return false;
	}		
}
deleteFortune = function() {
	var intLength = $('input[name="fortuneid[]"]:checked').length;
	if(intLength > 0) {
		if(confirm(fortune_delete_confirmed) == true) {
			$("#frmFortune").attr('action',HOST_VFRIEND + 'product/delete');
			$("#frmFortune").submit();
		}
	} else {
		alert(fortune_delete_required);
		return false;
	}		
	
}